package com.jsh.erp.constants;

import com.alibaba.fastjson.JSONObject;

public class ExceptionConstants {
    /**
     * code 格式 type+五位数字，例如3500000
     * ResourceInfo(value = "inOutItem", type = 35)
     *
     * */

    public static final String GLOBAL_RETURNS_CODE = "code";
    public static final String GLOBAL_RETURNS_MESSAGE = "msg";
    public static final String GLOBAL_RETURNS_DATA = "data";

    /**
     * 正常返回/操作成功
     **/
    public static final int SERVICE_SUCCESS_CODE = 200;
    public static final String SERVICE_SUCCESS_MSG = "操作成功";
    public static final String SERVICE_SUCCESS_MSG_US = "success";
    /**
     * 数据查询异常
     */
    public static final int DATA_READ_FAIL_CODE = 300;
    public static final String DATA_READ_FAIL_MSG = "数据查询异常";
    public static final String DATA_READ_FAIL_MSG_US = "Data query failure";
    /**
     * 数据写入异常
     */
    public static final int DATA_WRITE_FAIL_CODE = 301;
    public static final String DATA_WRITE_FAIL_MSG = "数据写入异常";
    public static final String DATA_WRITE_FAIL_MSG_US = "Data write failure";

    /**
     * 系统运行时未知错误
     **/
    public static final int SERVICE_SYSTEM_ERROR_CODE = 500;
    public static final String SERVICE_SYSTEM_ERROR_MSG = "未知异常";
    public static final String SERVICE_SYSTEM_ERROR_MSG_US = "Unknown abnormal";

    /**
     * 删除操作被拒绝，请联系管理员
     **/
    public static final int DELETE_REFUSED_CODE = 600;
    public static final String DELETE_REFUSED_MSG = "删除操作被拒绝，请联系管理员";
    /**
     * 检测到存在依赖数据，是否强制删除？
     **/
    public static final int DELETE_FORCE_CONFIRM_CODE = 601;
    public static final String DELETE_FORCE_CONFIRM_MSG = "检测到存在依赖数据，不能删除！";
    public static final String DELETE_FORCE_CONFIRM_MSG_US = "Dependent data detected, cannot be deleted!";

    public static final int COUNTER_AUDIT_FAIL_CODE = 701;
    public static final String COUNTER_AUDIT_FAIL_MSG = "检测到存在依赖数据，不能反审核！";
    public static final String COUNTER_AUDIT_FAIL_US = "Dependent data detected and cannot be counter audited!";

    /**
     * 审批被拒绝，没有权限？
     **/
    public static final int WORKFLOW_AUDIT_CODE = 501;
    public static final String WORKFLOW_AUDIT_MSG = "审批被拒绝，没有权限，请联系管理员！";
    public static final String WORKFLOW_AUDIT_MSG_US = "Approval denied, no permission, please contact the administrator!";

    /**
     * 反审批被拒绝，没有权限？
     **/
    public static final int DE_WORKFLOW_AUDIT_CODE = 502;
    public static final String DE_WORKFLOW_AUDIT_MSG = "反审批被拒绝，没有权限，请联系管理员！";
    public static final String DE_WORKFLOW_AUDIT_MSG_US = "De approval denied, no permission, please contact the administrator!";

    /**
     * 单据类型错误
     **/
    public static final int WRONG_DOCUMENT_TYPE = 503;
    public static final String WRONG_DOCUMENT_TYPE_MSG = "单据类型错误！";
    public static final String WRONG_DOCUMENT_TYPE_MSG_US = "Wrong document type!";
    /**
     * 用户信息
     * type = 5
     * */
    //添加用户信息失败
    public static final int USER_ADD_FAILED_CODE = 500000;
    public static final String USER_ADD_FAILED_MSG = "添加用户信息失败";
    public static final String USER_ADD_FAILED_MSG_US = "Failed to add user information";
    //删除用户信息失败
    public static final int USER_DELETE_FAILED_CODE = 500001;
    public static final String USER_DELETE_FAILED_MSG = "删除用户信息失败";
    public static final String USER_DELETE_FAILED_MSG_US = "Failed to delete user information";
    //修改用户信息失败
    public static final int USER_EDIT_FAILED_CODE = 500002;
    public static final String USER_EDIT_FAILED_MSG = "修改用户信息失败";
    public static final String USER_EDIT_FAILED_MSG_US = "Failed to modify user information";
    //用户名已存在
    public static final int USER_USER_NAME_ALREADY_EXISTS_CODE = 500003;
    public static final String USER_USER_NAME_ALREADY_EXISTS_MSG = "用户名在本系统已存在";
    public static final String USER_USER_NAME_ALREADY_EXISTS_MSG_US = "Username already exists in this system";
    //登录名已存在
    public static final int USER_LOGIN_NAME_ALREADY_EXISTS_CODE = 500003;
    public static final String USER_LOGIN_NAME_ALREADY_EXISTS_MSG = "登录名在本系统已存在";
    public static final String USER_LOGIN_NAME_ALREADY_EXISTS_MSG_US = "The login name already exists in this system";
    //用户录入数量超出限制
    public static final int USER_OVER_LIMIT_FAILED_CODE = 500004;
    public static final String USER_OVER_LIMIT_FAILED_MSG = "用户录入数量超出限制，请联系管理员";
    public static final String USER_OVER_LIMIT_FAILED_MSG_US = "The number of user entries exceeds the limit, please contact the administrator";
    //此用户名限制使用
    public static final int USER_NAME_LIMIT_USE_CODE = 500005;
    public static final String USER_NAME_LIMIT_USE_MSG = "此用户名限制使用";
    public static final String USER_NAME_LIMIT_USE_MSG_US = "This username is restricted";
    //演示用户不允许删除
    public static final int USER_LIMIT_DELETE_CODE = 500006;
    public static final String USER_LIMIT_DELETE_MSG = "抱歉，演示模式下的演示用户不允许删除";
    public static final String USER_LIMIT_DELETE_MSG_US = "Sorry, demo users in demo mode are not allowed to delete";
    //演示用户不允许修改
    public static final int USER_LIMIT_UPDATE_CODE = 500007;
    public static final String USER_LIMIT_UPDATE_MSG = "抱歉，演示模式下的演示用户不允许修改";
    public static final String USER_LIMIT_UPDATE_MSG_US = "Sorry, demo users in demo mode are not allowed to modify";
    //租户不能被删除
    public static final int USER_LIMIT_TENANT_DELETE_CODE = 500008;
    public static final String USER_LIMIT_TENANT_DELETE_MSG = "抱歉，租户不能被删除";
    public static final String USER_LIMIT_TENANT_DELETE_MSG_US = "Sorry, tenants cannot be deleted";
    //没有填同步地址
    public static final int USER_SYNC_FAILED_CODE = 500009;
    public static final String USER_SYNC_FAILED_MSG = "抱歉，管理员的同步地址未填";
    public static final String USER_SYNC_FAILED_MSG_US = "Sorry, the administrator's sync address is missing";
    //没有填同步地址
    public static final int USER_SYNC_OUTER_FAILED_CODE = 500009;
    public static final String USER_SYNC_OUTER_FAILED_MSG = "抱歉，管理员的外网同步地址未填";
    public static final String USER_SYNC_OUTER_FAILED_MSG_US = "Sorry, the administrator's sync address is missing";
    //没有填同步地址
    public static final int USER_SYNC_INNER_FAILED_CODE = 500009;
    public static final String USER_SYNC_INNER_FAILED_MSG = "抱歉，管理员的内网同步地址未填";
    public static final String USER_SYNC_INNER_FAILED_MSG_US = "Sorry, the administrator's sync address is missing";

    /**
     * 角色信息
     * type = 10
     * */
    //添加角色信息失败
    public static final int ROLE_ADD_FAILED_CODE = 1000000;
    public static final String ROLE_ADD_FAILED_MSG = "添加角色信息失败";
    //删除角色信息失败
    public static final int ROLE_DELETE_FAILED_CODE = 1000001;
    public static final String ROLE_DELETE_FAILED_MSG = "删除角色信息失败";
    //修改角色信息失败
    public static final int ROLE_EDIT_FAILED_CODE = 1000002;
    public static final String ROLE_EDIT_FAILED_MSG = "修改角色信息失败";
    /**
     * 应用信息
     * type = 15
     * */
    //添加角色信息失败
    public static final int APP_ADD_FAILED_CODE = 1500000;
    public static final String APP_ADD_FAILED_MSG = "添加应用信息失败";
    //删除角色信息失败
    public static final int APP_DELETE_FAILED_CODE = 1500001;
    public static final String APP_DELETE_FAILED_MSG = "删除应用信息失败";
    //修改角色信息失败
    public static final int APP_EDIT_FAILED_CODE = 1500002;
    public static final String APP_EDIT_FAILED_MSG = "修改应用信息失败";
    /**
     *  仓库信息
     * type = 20
     * */
    //添加仓库信息失败
    public static final int DEPOT_ADD_FAILED_CODE = 2000000;
    public static final String DEPOT_ADD_FAILED_MSG = "添加仓库信息失败";
    //删除仓库信息失败
    public static final int DEPOT_DELETE_FAILED_CODE = 2000001;
    public static final String DEPOT_DELETE_FAILED_MSG = "删除仓库信息失败";
    //修改仓库信息失败
    public static final int DEPOT_EDIT_FAILED_CODE = 2000002;
    public static final String DEPOT_EDIT_FAILED_MSG = "修改仓库信息失败";

    /**
     * 功能模块信息
     * type = 30
     * */
    //添加角色信息失败
    public static final int FUNCTIONS_ADD_FAILED_CODE = 3000000;
    public static final String FUNCTIONS_ADD_FAILED_MSG = "添加功能模块信息失败";
    //删除角色信息失败
    public static final int FUNCTIONS_DELETE_FAILED_CODE = 3000001;
    public static final String FUNCTIONS_DELETE_FAILED_MSG = "删除功能模块信息失败";
    //修改角色信息失败
    public static final int FUNCTIONS_EDIT_FAILED_CODE = 3000002;
    public static final String FUNCTIONS_EDIT_FAILED_MSG = "修改功能模块信息失败";
    /**
     * 收支项目信息
     * type = 35
     * */
    //添加收支项目信息失败
    public static final int IN_OUT_ITEM_ADD_FAILED_CODE = 3500000;
    public static final String IN_OUT_ITEM_ADD_FAILED_MSG = "添加收支项目信息失败";
    //删除收支项目信息失败
    public static final int IN_OUT_ITEM_DELETE_FAILED_CODE = 3500001;
    public static final String IN_OUT_ITEM_DELETE_FAILED_MSG = "删除收支项目信息失败";
    //修改收支项目信息失败
    public static final int IN_OUT_ITEM_EDIT_FAILED_CODE = 3500002;
    public static final String IN_OUT_ITEM_EDIT_FAILED_MSG = "修改收支项目信息失败";
    /**
     *  多单位信息
     * type = 40
     * */
    //添加多单位信息失败
    public static final int UNIT_ADD_FAILED_CODE = 4000000;
    public static final String UNIT_ADD_FAILED_MSG = "添加多单位信息失败";
    //删除多单位信息失败
    public static final int UNIT_DELETE_FAILED_CODE = 4000001;
    public static final String UNIT_DELETE_FAILED_MSG = "删除多单位信息失败";
    //修改多单位信息失败
    public static final int UNIT_EDIT_FAILED_CODE = 4000002;
    public static final String UNIT_EDIT_FAILED_MSG = "修改多单位信息失败";
    /**
     *  经手人信息
     * type = 45
     * */
    //添加经手人信息失败
    public static final int PERSON_ADD_FAILED_CODE = 4500000;
    public static final String PERSON_ADD_FAILED_MSG = "添加经手人信息失败";
    //删除经手人信息失败
    public static final int PERSON_DELETE_FAILED_CODE = 4500001;
    public static final String PERSON_DELETE_FAILED_MSG = "删除经手人信息失败";
    //修改经手人信息失败
    public static final int PERSON_EDIT_FAILED_CODE = 4500002;
    public static final String PERSON_EDIT_FAILED_MSG = "修改经手人信息失败";
    /**
     * 用户角色模块关系信息
     * type = 50
     * */
    //添加用户角色模块关系信息失败
    public static final int USER_BUSINESS_ADD_FAILED_CODE = 5000000;
    public static final String USER_BUSINESS_ADD_FAILED_MSG = "添加用户角色模块关系信息失败";
    //删除用户角色模块关系信息失败
    public static final int USER_BUSINESS_DELETE_FAILED_CODE = 5000001;
    public static final String USER_BUSINESS_DELETE_FAILED_MSG = "删除用户角色模块关系信息失败";
    //修改用户角色模块关系信息失败
    public static final int USER_BUSINESS_EDIT_FAILED_CODE = 5000002;
    public static final String USER_BUSINESS_EDIT_FAILED_MSG = "修改用户角色模块关系信息失败";
    /**
     *  系统参数信息
     * type = 55
     * */
    //添加系统参数信息失败
    public static final int SYSTEM_CONFIG_ADD_FAILED_CODE = 5500000;
    public static final String SYSTEM_CONFIG_ADD_FAILED_MSG = "添加系统参数信息失败";
    //删除系统参数信息失败
    public static final int SYSTEM_CONFIG_DELETE_FAILED_CODE = 5500001;
    public static final String SYSTEM_CONFIG_DELETE_FAILED_MSG = "删除系统参数信息失败";
    //修改系统参数信息失败
    public static final int SYSTEM_CONFIG_EDIT_FAILED_CODE = 5500002;
    public static final String SYSTEM_CONFIG_EDIT_FAILED_MSG = "修改系统参数信息失败";
    /**
     * 商品扩展信息
     * type = 60
     * */
    //添加商品扩展信息失败
    public static final int MATERIAL_PROPERTY_ADD_FAILED_CODE = 6000000;
    public static final String MATERIAL_PROPERTY_ADD_FAILED_MSG = "添加商品扩展信息失败";
    //删除商品扩展信息失败
    public static final int MATERIAL_PROPERTY_DELETE_FAILED_CODE = 6000001;
    public static final String MATERIAL_PROPERTY_DELETE_FAILED_MSG = "删除商品扩展信息失败";
    //修改商品扩展信息失败
    public static final int MATERIAL_PROPERTY_EDIT_FAILED_CODE = 6000002;
    public static final String MATERIAL_PROPERTY_EDIT_FAILED_MSG = "修改商品扩展信息失败";
    /**
     *  账户信息
     * type = 65
     * */
    //添加账户信息失败
    public static final int ACCOUNT_ADD_FAILED_CODE = 6500000;
    public static final String ACCOUNT_ADD_FAILED_MSG = "添加账户信息失败";
    //删除账户信息失败
    public static final int ACCOUNT_DELETE_FAILED_CODE = 6500001;
    public static final String ACCOUNT_DELETE_FAILED_MSG = "删除账户信息失败";
    //修改账户信息失败
    public static final int ACCOUNT_EDIT_FAILED_CODE = 6500002;
    public static final String ACCOUNT_EDIT_FAILED_MSG = "修改账户信息失败";
    /**
     *  供应商信息
     * type = 70
     * */
    //添加供应商信息失败
    public static final int SUPPLIER_ADD_FAILED_CODE = 7000000;
    public static final String SUPPLIER_ADD_FAILED_MSG = "添加供应商信息失败";
    //删除供应商信息失败
    public static final int SUPPLIER_DELETE_FAILED_CODE = 7000001;
    public static final String SUPPLIER_DELETE_FAILED_MSG = "删除供应商信息失败";
    //修改供应商信息失败
    public static final int SUPPLIER_EDIT_FAILED_CODE = 7000002;
    public static final String SUPPLIER_EDIT_FAILED_MSG = "修改供应商信息失败";
    /**
     * 商品类别信息
     * type = 75
     * */
    //添加商品类别信息失败
    public static final int MATERIAL_CATEGORY_ADD_FAILED_CODE = 7500000;
    public static final String MATERIAL_CATEGORY_ADD_FAILED_MSG = "添加商品类别信息失败";
    public static final String MATERIAL_CATEGORY_ADD_FAILED_MSG_US = "Failed to add product category information";
    //删除商品类别信息失败
    public static final int MATERIAL_CATEGORY_DELETE_FAILED_CODE = 7500001;
    public static final String MATERIAL_CATEGORY_DELETE_FAILED_MSG = "删除商品类别信息失败";
    //修改商品类别信息失败
    public static final int MATERIAL_CATEGORY_EDIT_FAILED_CODE = 7500002;
    public static final String MATERIAL_CATEGORY_EDIT_FAILED_MSG = "修改商品类别信息失败";
    public static final String MATERIAL_CATEGORY_EDIT_FAILED_MSG_US = "Failed to modify product category information";
    //商品类别编号已存在
    public static final int MATERIAL_CATEGORY_SERIAL_ALREADY_EXISTS_CODE = 7500003;
    public static final String MATERIAL_CATEGORY_SERIAL_ALREADY_EXISTS_MSG = "商品类别编号已存在";
    public static final String MATERIAL_CATEGORY_SERIAL_ALREADY_EXISTS_MSG_US = "Product Category ID already exists";
    //根类别不支持修改
    public static final int MATERIAL_CATEGORY_ROOT_NOT_SUPPORT_EDIT_CODE = 7500004;
    public static final String MATERIAL_CATEGORY_ROOT_NOT_SUPPORT_EDIT_MSG = "根类别不支持修改";
    //根类别不支持删除
    public static final int MATERIAL_CATEGORY_ROOT_NOT_SUPPORT_DELETE_CODE = 7500005;
    public static final String MATERIAL_CATEGORY_ROOT_NOT_SUPPORT_DELETE_MSG = "根类别不支持删除";
    //该类别存在下级不允许删除
    public static final int MATERIAL_CATEGORY_CHILD_NOT_SUPPORT_DELETE_CODE = 7500006;
    public static final String MATERIAL_CATEGORY_CHILD_NOT_SUPPORT_DELETE_MSG = "该类别存在下级不允许删除";
    public static final String MATERIAL_CATEGORY_CHILD_NOT_SUPPORT_DELETE_MSG_US = "Subordinates in this category are not allowed to delete";
    /**
     * 商品信息
     * type = 80
     * */
    //添加商品信息信息失败
    public static final int MATERIAL_ADD_FAILED_CODE = 7500000;
    public static final String MATERIAL_ADD_FAILED_MSG = "添加商品信息失败";
    //删除商品信息失败
    public static final int MATERIAL_DELETE_FAILED_CODE = 7500001;
    public static final String MATERIAL_DELETE_FAILED_MSG = "删除商品信息失败";
    //修改商品信息失败
    public static final int MATERIAL_EDIT_FAILED_CODE = 7500002;
    public static final String MATERIAL_EDIT_FAILED_MSG = "修改商品信息失败";
    //商品信息不存在
    public static final int MATERIAL_NOT_EXISTS_CODE = 8000000;
    public static final String MATERIAL_NOT_EXISTS_MSG = "商品信息不存在";
    public static final String MATERIAL_NOT_EXISTS_MSG_US = "Product information does not exist";
    //商品信息不唯一
    public static final int MATERIAL_NOT_ONLY_CODE = 8000001;
    public static final String MATERIAL_NOT_ONLY_MSG = "商品信息不唯一";
    public static final String MATERIAL_NOT_ONLY_MSG_US = "Product information is not unique";
    //该商品未开启序列号
    public static final int MATERIAL_NOT_ENABLE_SERIAL_NUMBER_CODE = 8000002;
    public static final String MATERIAL_NOT_ENABLE_SERIAL_NUMBER_MSG = "该商品未开启序列号功能";
    public static final String MATERIAL_NOT_ENABLE_SERIAL_NUMBER_MSG_US = "The serial number function is not enabled for this product";
    //商品的序列号不能为空
    public static final int MATERIAL_SERIAL_NUMBERE_EMPTY_CODE = 8000003;
    public static final String MATERIAL_SERIAL_NUMBERE_EMPTY_MSG = "抱歉，商品的序列号不能为空";
    public static final String MATERIAL_SERIAL_NUMBERE_EMPTY_MSG_US = "Sorry, product barcode: the serial number  cannot be empty";
    //商品库存不足
    public static final int MATERIAL_STOCK_NOT_ENOUGH_CODE = 8000004;
    public static final String MATERIAL_STOCK_NOT_ENOUGH_MSG = "商品:%s库存不足";
    public static final String MATERIAL_STOCK_NOT_ENOUGH_MSG_US = "Item: %s is out of stock";
    //商品条码重复
    public static final int MATERIAL_BARCODE_EXISTS_CODE = 8000005;
    public static final String MATERIAL_BARCODE_EXISTS_MSG = "商品条码:%s重复";
    public static final String MATERIAL_BARCODE_EXISTS_MSG_US = "Product barcode: %s is duplicated";
    //商品条码重复
    public static final int MATERIAL_CODE_EXISTS_CODE = 8000047;
    public static final String MATERIAL_CODE_EXISTS_MSG = "编号:%s重复";
    public static final String MATERIAL_CODE_EXISTS_MSG_US = "Product code: %s is duplicated";
    //商品-单位匹配不上
    public static final int MATERIAL_UNIT_MATE_CODE = 8000006;
    public static final String MATERIAL_UNIT_MATE_MSG = "抱歉，商品条码:%s的单位匹配不上，请完善计量单位信息！";
    public static final String MATERIAL_UNIT_MATE_MSG_US = "Sorry, the unit of product barcode: %s does not match, please complete the unit of measurement information!";
    //商品条码不是正整数
    public static final int MATERIAL_BARCODE_NOT_INTEGER_CODE = 8000007;
    public static final String MATERIAL_BARCODE_NOT_INTEGER_MSG = "商品条码:%s不是正整数";
    public static final String MATERIAL_BARCODE_NOT_INTEGER_MSG_US = "Product barcode: %s is not a positive integer";
    //商品条码不是正整数
    public static final int MATERIAL_CODE_NOT_INTEGER_CODE = 8000046;
    public static final String MATERIAL_CODE_NOT_INTEGER_MSG = "编号:%s不是正整数";
    public static final String MATERIAL_CODE_NOT_INTEGER_MSG_US = "Product code: %s is not a positive integer";
    //序列号和批号只能有一项
    public static final int MATERIAL_ENABLE_MUST_ONE_CODE = 8000008;
    public static final String MATERIAL_ENABLE_MUST_ONE_MSG = "抱歉，商品条码:%s的序列号和批号不能同时填1";
    public static final String MATERIAL_ENABLE_MUST_ONE_MSG_US = "抱歉，商品条码:%s的序列号和批号不能同时填1";
    //抱歉，文件扩展名必须为xls
    public static final int MATERIAL_EXTENSION_ERROR_CODE = 8000009;
    public static final String MATERIAL_EXTENSION_ERROR_MSG = "抱歉，文件扩展名必须为xls";
    public static final String MATERIAL_EXTENSION_ERROR_MSG_US = "Sorry, the file extension must be xls";
    //名称为空
    public static final int MATERIAL_NAME_EMPTY_CODE = 8000010;
    public static final String MATERIAL_NAME_EMPTY_MSG = "第%s行名称为空";
    public static final String MATERIAL_NAME_EMPTY_MSG_US = "Line %s has an empty name";
    //基本单位为空
    public static final int MATERIAL_UNIT_EMPTY_CODE = 8000011;
    public static final String MATERIAL_UNIT_EMPTY_MSG = "第%s行基本单位为空";
    public static final String MATERIAL_UNIT_EMPTY_MSG_US = "The base unit at line %s is empty";
    //商品类别不存在
    public static final int MATERIAL_CATEGORY_ID_EMPTY_CODE = 8000011;
    public static final String MATERIAL_CATEGORY_ID_EMPTY_MSG = "第%s行商品类别不存在";
    public static final String MATERIAL_CATEGORY_ID_EMPTY_MSG_US = "Line %s Item category does not exist";
    //副单位为空
    public static final int MATERIAL_MANY_UNIT_EMPTY_CODE = 8000090;
    public static final String MATERIAL_MANY_UNIT_EMPTY_MSG = "第%s行副单位为空";
    public static final String MATERIAL_MANY_UNIT_EMPTY_MSG_US = "The subunit in line %s is empty";
    //状态格式错误
    public static final int MATERIAL_ENABLED_ERROR_CODE = 8000012;
    public static final String MATERIAL_ENABLED_ERROR_MSG = "第%s行状态格式错误";
    public static final String MATERIAL_ENABLED_ERROR_MSG_US = "Malformed status at line %s";
    //状态格式错误
    public static final int MATERIAL_CODE_ERROR_CODE = 8000047;
    public static final String MATERIAL_CODE_ERROR_MSG = "第%s行是否称重格式错误";
    public static final String MATERIAL_CODE_ERROR_MSG_US = "Line %s whether the weighing format is wrong";
    //单次导入超出1000条
    public static final int MATERIAL_IMPORT_OVER_LIMIT_CODE = 8000013;
    public static final String MATERIAL_IMPORT_OVER_LIMIT_MSG = "抱歉，单次导入不能超出1000条";
    public static final String MATERIAL_IMPORT_OVER_LIMIT_MSG_US = "Sorry, a single import cannot exceed 1000 entries";
    //基础重量格式错误
    public static final int MATERIAL_WEIGHT_NOT_DECIMAL_CODE = 8000014;
    public static final String MATERIAL_WEIGHT_NOT_DECIMAL_MSG = "第%s行基础重量格式错误";
    //保质期格式错误
    public static final int MATERIAL_EXPIRY_NUM_NOT_INTEGER_CODE = 8000015;
    public static final String MATERIAL_EXPIRY_NUM_NOT_INTEGER_MSG = "第%s行保质期格式错误";
    public static final String MATERIAL_EXPIRY_NUM_NOT_INTEGER_MSG_US = "Incorrect expiration date format on line %s";
    //比例格式错误
    public static final int MATERIAL_RATIO_NOT_INTEGER_CODE = 8000016;
    public static final String MATERIAL_RATIO_NOT_INTEGER_MSG = "第%s行比例格式错误";
    public static final String MATERIAL_RATIO_NOT_INTEGER_MSG_US = "Scale format error on line %s";
    //比例格式错误
    public static final int MATERIAL_RATIO_EMPTY_CODE = 8000080;
    public static final String MATERIAL_RATIO_EMPTY_MSG = "第%s行比例为空";
    public static final String MATERIAL_RATIO_EMPTY_MSG_US = "The scale in line %s is empty";
    //智能补货-没有默认供应商的商品
    public static final int MATERIAL_NOT_DEFAULT_SUPPLIER_CODE = 8000040;
    public static final String MATERIAL_NOT_DEFAULT_SUPPLIER_MSG = "商品名称：%s没有默认供应商，请去商品信息中填写";
    public static final String MATERIAL_NOT_DEFAULT_SUPPLIER_MSG_US = "Product name: %s has no default supplier, please fill in the product information";
    //条码为空
    public static final int BARCODE_EMPTY_CODE = 8000041;
    public static final String BARCODE_EMPTY_MSG = "第%s行条码为空";
    public static final String BARCODE_EMPTY_MSG_US = "The barcode at line %s is empty";
    //条码为空
    public static final int BARCODE_REPEAT_EMPTY_CODE = 8000046;
    public static final String BARCODE_REPEAT_EMPTY_MSG = "第%s行条码重复";
    public static final String BARCODE_REPEAT_EMPTY_MSG_US = "Duplicate barcode on line %s";
    //商品名称重复
    public static final int MATERIAL_NAME_REPETITION_CODE = 8000046;
    public static final String MATERIAL_NAME_REPETITION_MSG = "第%s行商品名称重复";
    public static final String MATERIAL_NAME_REPETITION_MSG_US = "The product name in line %s is repeated";
    //数量为空
    public static final int NUMBER_EMPTY_CODE = 8000042;
    public static final String NUMBER_EMPTY_MSG = "第%s行数量为空";
    public static final String NUMBER_EMPTY_MSG_US = "The number of line %s is empty";
    //数量为空
    public static final int PURCHASE_PRICE_EMPTY_CODE = 8000042;
    public static final String PURCHASE_PRICE_EMPTY_MSG = "第%s行商品的采购价为空";
    public static final String PURCHASE_PRICE_EMPTY_MSG_US = "The purchase price of the item in line %s is empty";
    //仓库被删除
    public static final int DEPOT_ID_EMPTY_CODE = 8000043;
    public static final String DEPOT_ID_EMPTY_MSG = "仓库信息中，没有第%s行仓库";
    public static final String DEPOT_ID_EMPTY_MSG_US = "In the warehouse information, there is no warehouse at line %s";
    //条码没有查到数据
//    public static final int MVO_EMPTY_CODE = 8000044;
//    public static final String MVO_EMPTY_MSG = "第%s行条码的数据不存在，请检查条码的准确性";
//    public static final String MVO_EMPTY_MSG_US = "The data of the barcode on line %s does not exist, please check the accuracy of the barcode";
//    //商品条码父类
    public static final int MATERIAL_CATEGORY_IS_PARENT_CODE = 8000045;
    public static final String MATERIAL_CATEGORY_IS_PARENT_MSG = "当前商品类别属于父类，不能选择";
    public static final String MATERIAL_CATEGORY_IS_PARENT_MSG_US = "The current product category belongs to the parent category and cannot be selected";
    //导入单位为空
    public static final int MATERIAL_UNIT_IMPORT_EMPTY_CODE = 8000011;
    public static final String MATERIAL_UNIT_IMPORT_EMPTY_MSG = "第%s行单位为空";
    public static final String MATERIAL_UNIT_IMPORT_EMPTY_MSG_US = "The unit at line %s is empty";
    //商品加单位没有查到数据
    public static final int MVO_EMPTY_CODE = 8000044;
    public static final String MVO_EMPTY_MSG = "第%s行商品的数据不存在，请检查单位或商品名称的准确性";
    public static final String MVO_EMPTY_MSG_US = "The data for the commodity unit in line %s does not exist. Please check the accuracy of the unit or commodity name";
    //商品价格id为空
    public static final int MATERIAL_MEID_EMPTY_CODE = 8000080;
    public static final String MATERIAL_MEID_EMPTY_MSG = "抱歉，商品价格id不能为空";
    public static final String MATERIAL_MEID_EMPTY_MSG_US = "Sorry, the item price id cannot be empty";
    //导入单位为空
    public static final int MATERIAL_STANDARD_IMPORT_EMPTY_CODE = 8000011;
    public static final String MATERIAL_STANDARD_IMPORT_EMPTY_MSG = "第%s行规格为空";
    public static final String MATERIAL_STANDARD_IMPORT_EMPTY_MSG_US = "The standard at line %s is empty";
    //批量设置禁用商品时，商品有库存
    public static final int MATERIAL_STOCK_NOT_EMPTY_CODE = 8000012;
    public static final String MATERIAL_STOCK_NOT_EMPTY_MSG = "商品：%s有库存，不能禁用";
    public static final String MATERIAL_STOCK_NOT_EMPTY_MSG_US = "Product: %s is in stock and cannot be banned";

    public static final int SHEET_NAME_EMPTY_CODE = 8000080;
    public static final String SHEET_NAME_EMPTY_MSG = "导入sheet不能为空";
    public static final String SHEET_NAME_EMPTY_MSG_US = "The sheet name cannot be empty";

    public static final int SHEET_ID_EMPTY_CODE = 8000080;
    public static final String SHEET_ID_EMPTY_MSG = "%s不存在";
    public static final String SHEET_ID_EMPTY_MSG_US = "%s not found";

    /**
     *  单据信息
     * type = 85
     * */
    //添加单据信息失败
    public static final int DEPOT_HEAD_ADD_FAILED_CODE = 8500000;
    public static final String DEPOT_HEAD_ADD_FAILED_MSG = "添加单据信息失败";
    //删除单据信息失败
    public static final int DEPOT_HEAD_DELETE_FAILED_CODE = 8500001;
    public static final String DEPOT_HEAD_DELETE_FAILED_MSG = "删除单据信息失败";
    //修改单据信息失败
    public static final int DEPOT_HEAD_EDIT_FAILED_CODE = 8500002;
    public static final String DEPOT_HEAD_EDIT_FAILED_MSG = "修改单据信息失败";
    //单据录入-仓库不能为空
    public static final int DEPOT_HEAD_DEPOT_FAILED_CODE = 8500004;
    public static final String DEPOT_HEAD_DEPOT_FAILED_MSG = "仓库不能为空";
    public static final String DEPOT_HEAD_DEPOT_FAILED_MSG_US = "Warehouse cannot be empty";
    //单据录入-调入仓库不能为空
    public static final int DEPOT_HEAD_ANOTHER_DEPOT_FAILED_CODE = 8500005;
    public static final String DEPOT_HEAD_ANOTHER_DEPOT_FAILED_MSG = "调入仓库不能为空";
    //单据录入-明细不能为空
    public static final int DEPOT_HEAD_ROW_FAILED_CODE = 8500006;
    public static final String DEPOT_HEAD_ROW_FAILED_MSG = "单据明细不能为空";
    public static final String DEPOT_HEAD_ROW_FAILED_MSG_US = "Document details cannot be empty";
    //单据录入-账户不能为空
    public static final int DEPOT_HEAD_ACCOUNT_FAILED_CODE = 8500007;
    public static final String DEPOT_HEAD_ACCOUNT_FAILED_MSG = "结算账户不能为空";
    public static final String DEPOT_HEAD_ACCOUNT_FAILED_MSG_US = "Billing account cannot be empty";
    //单据录入-请修改多账户的结算金额
    public static final int DEPOT_HEAD_MANY_ACCOUNT_FAILED_CODE = 8500008;
    public static final String DEPOT_HEAD_MANY_ACCOUNT_FAILED_MSG = "请修改多账户的结算金额";
    public static final String DEPOT_HEAD_MANY_ACCOUNT_FAILED_MSG_US = "Please modify the settlement amount for multiple accounts";
    //单据录入-退货单不能欠款
    public static final int DEPOT_HEAD_BACK_BILL_DEBT_FAILED_CODE = 8500009;
    public static final String DEPOT_HEAD_BACK_BILL_DEBT_FAILED_MSG = "退货单不能欠款";
    public static final String DEPOT_HEAD_BACK_BILL_DEBT_FAILED_MSG_US = "Return order cannot be owed";
    //单据录入-调入仓库与原仓库不能重复
    public static final int DEPOT_HEAD_ANOTHER_DEPOT_EQUAL_FAILED_CODE = 8500010;
    public static final String DEPOT_HEAD_ANOTHER_DEPOT_EQUAL_FAILED_MSG = "调入仓库与原仓库不能重复";
    public static final String DEPOT_HEAD_ANOTHER_DEPOT_EQUAL_FAILED_MSG_US = "The transferred warehouse and the original warehouse cannot be duplicated";
    //单据删除-只有未审核的单据才能删除
    public static final int DEPOT_HEAD_UN_AUDIT_DELETE_FAILED_CODE = 8500011;
    public static final String DEPOT_HEAD_UN_AUDIT_DELETE_FAILED_MSG = "抱歉，只有未审核的单据才能删除";
    public static final String DEPOT_HEAD_UN_AUDIT_DELETE_FAILED_MSG_US = "Sorry, only unapproved documents can be deleted";
    //单据审核-只有未审核的单据才能审核
    public static final int DEPOT_HEAD_UN_AUDIT_TO_AUDIT_FAILED_CODE = 8500012;
    public static final String DEPOT_HEAD_UN_AUDIT_TO_AUDIT_FAILED_MSG = "抱歉，只有未审核的单据才能审核";
    public static final String DEPOT_HEAD_UN_AUDIT_TO_AUDIT_FAILED_MSG_US = "Sorry, only unreviewed documents can be reviewed";
    //单据反审核-只有已审核的单据才能反审核
    public static final int DEPOT_HEAD_AUDIT_TO_UN_AUDIT_FAILED_CODE = 8500013;
    public static final String DEPOT_HEAD_AUDIT_TO_UN_AUDIT_FAILED_MSG = "抱歉，只有已审核的单据才能反审核";
    public static final String DEPOT_HEAD_AUDIT_TO_UN_AUDIT_FAILED_MSG_US = "Sorry, only approved documents can be de-approved";
    //单据录入-商品条码XXX的数量需要修改下
    public static final int DEPOT_HEAD_NUMBER_NEED_EDIT_FAILED_CODE = 85000014;
    public static final String DEPOT_HEAD_NUMBER_NEED_EDIT_FAILED_MSG = "商品数量需要修改下";
    public static final String DEPOT_HEAD_NUMBER_NEED_EDIT_FAILED_MSG_US = "The quantity of product  needs to be modified";
    //单据录入-商品的批号不能为空
    public static final int DEPOT_HEAD_BATCH_NUMBERE_EMPTY_CODE = 8000015;
    public static final String DEPOT_HEAD_BATCH_NUMBERE_EMPTY_MSG = "抱歉，商品的批号不能为空";
    public static final String DEPOT_HEAD_BATCH_NUMBERE_EMPTY_MSG_US = "Sorry, product barcode: batch number cannot be empty";
    //单据录入-会员预付款余额不足
    public static final int DEPOT_HEAD_MEMBER_PAY_LACK_CODE = 8000016;
    public static final String DEPOT_HEAD_MEMBER_PAY_LACK_MSG = "抱歉，会员预付款余额不足";
    public static final String DEPOT_HEAD_MEMBER_PAY_LACK_MSG_US = "Sorry, the member's prepaid balance is insufficient";
    //单据录入-累计订金超出原订单中的订金
    public static final int DEPOT_HEAD_DEPOSIT_OVER_PRE_CODE = 8000017;
    public static final String DEPOT_HEAD_DEPOSIT_OVER_PRE_MSG = "抱歉，累计订金超出原订单中的订金";
    public static final String DEPOT_HEAD_DEPOSIT_OVER_PRE_MSG_US = "Sorry, the accumulated deposit exceeds the deposit in the original order";
    //单据录入-商品条码XXX的单价低于最低售价
    public static final int DEPOT_HEAD_UNIT_PRICE_LOW_CODE = 8000018;
    public static final String DEPOT_HEAD_UNIT_PRICE_LOW_MSG = "商品单价低于最低售价";
    public static final String DEPOT_HEAD_UNIT_PRICE_LOW_MSG_US = "The unit price of the product  is lower than the minimum price";
    //厂家直发订单未采购前，不能直接验收
    public static final int DEPOT_HEAD_SUB_TYPE_FAIL_CODE = 8000040;
    public static final String DEPOT_HEAD_UB_TYPE_FAIL_MSG = "抱歉，单据编号:%s的采购进度为“完成采购”，才能进行厂家到货验收";
    public static final String DEPOT_HEAD_UB_TYPE_FAIL_MSG_US = "Sorry, the purchase progress of the document number: %s is \"complete the purchase\" before the factory arrival acceptance can be carried out";
    //单据录入-商品条码XXX的数量需要修改下
    public static final int DEPOT_HEAD_NUMBER_ZERO_CODE = 8000041;
    public static final String DEPOT_HEAD_NUMBER_ZERO_MSG = "第%s行的数量不能小于1";
    public static final String DEPOT_HEAD_NUMBER_ZERO_MSG_US = "The number of line %s cannot be less than 1";
    //单据录入
    public static final int DEPOT_HEAD_PURCHASE_TWO_CODE = 8000042;
    public static final String DEPOT_HEAD_PURCHASE_TWO_MSG = "单据编号:%s已完成采购";
    public static final String DEPOT_HEAD_PURCHASE_TWO_MSG_US = "Document number: %s has completed the purchase";
    //单据录入
    public static final int DEPOT_HEAD_NOT_AUDIT_CODE = 8000043;
    public static final String DEPOT_HEAD_NOT_AUDIT_MSG = "单据编号:%s未完成审核";
    public static final String DEPOT_HEAD_NOT_AUDIT_MSG_US = "Document number: %s has not completed the review";
    //单据录入
    public static final int DEPOT_HEAD_NOT_YYL_CODE = 8000044;
    public static final String DEPOT_HEAD_NOT_YYL_MSG = "单据编号:%s不是“厂家直发”订单";
    public static final String DEPOT_HEAD_NOT_YYL_MSG_US = "Document number: %s is not a \"factory direct\" order";
    //单据录入
    public static final int DEPOT_HEAD_NOT_ITEM_CODE = 8000045;
    public static final String DEPOT_HEAD_NOT_ITEM_MSG = "单据编号:%s没有单据明细，请核对该单据";
    public static final String DEPOT_HEAD_NOT_ITEM_MSG_US = "Document number: %s has no document details, please check the document";
    //验收时，报损的商品采购价为空
    public static final int DEPOT_HEAD_PURCHASE_NULL_CODE = 8000046;
    public static final String DEPOT_HEAD_PURCHASE_NULL_MSG = "商品：%s的采购价为空，不能报损/换货";
    public static final String DEPOT_HEAD_PURCHASE_NULL_MSG_US = "Merchandise: %s purchase price is empty and cannot be quoted for damage/replacement";
    //订单已经被删除 不能再结算
    public static final int DEPOT_HEAD_DELETE_CODE = 8000046;
    public static final String DEPOT_HEAD_DELETE_MSG = "订单已被删除";
    public static final String DEPOT_HEAD_DELETE_MSG_US = "The order has been deleted";
    /**
     *  单据明细信息
     * type = 90
     * */
    //添加单据明细信息失败
    public static final int DEPOT_ITEM_ADD_FAILED_CODE = 9000000;
    public static final String DEPOT_ITEM_ADD_FAILED_MSG = "添加单据明细信息失败";
    //删除单据明细信息失败
    public static final int DEPOT_ITEM_DELETE_FAILED_CODE = 9000001;
    public static final String DEPOT_ITEM_DELETE_FAILED_MSG = "删除单据明细信息失败";
    //修改单据明细信息失败
    public static final int DEPOT_ITEM_EDIT_FAILED_CODE = 9000002;
    public static final String DEPOT_ITEM_EDIT_FAILED_MSG = "修改单据明细信息失败";
    /**
     *  财务信息
     * type = 95
     * */
    //添加财务信息失败
    public static final int ACCOUNT_HEAD_ADD_FAILED_CODE = 9500000;
    public static final String ACCOUNT_HEAD_ADD_FAILED_MSG = "添加财务信息失败";
    //删除财务信息失败
    public static final int ACCOUNT_HEAD_DELETE_FAILED_CODE = 9500001;
    public static final String ACCOUNT_HEAD_DELETE_FAILED_MSG = "删除财务信息失败";
    //修改财务信息失败
    public static final int ACCOUNT_HEAD_EDIT_FAILED_CODE = 9500002;
    public static final String ACCOUNT_HEAD_EDIT_FAILED_MSG = "修改财务信息失败";
    //单据录入-明细不能为空
    public static final int ACCOUNT_HEAD_ROW_FAILED_CODE = 9500003;
    public static final String ACCOUNT_HEAD_ROW_FAILED_MSG = "单据明细不能为空";
    public static final String ACCOUNT_HEAD_ROW_FAILED_MSG_US = "Document details cannot be empty";
    //单据删除-只有未审核的单据才能删除
    public static final int ACCOUNT_HEAD_UN_AUDIT_DELETE_FAILED_CODE = 9500004;
    public static final String ACCOUNT_HEAD_UN_AUDIT_DELETE_FAILED_MSG = "抱歉，只有未审核的单据才能删除";
    public static final String ACCOUNT_HEAD_UN_AUDIT_DELETE_FAILED_MSG_US = "Sorry, only unapproved documents can be deleted";
    //单据录入-明细不能为空
    public static final int ACCOUNT_HEAD_CHANGE_AMOUNT_FAILED_CODE = 9500005;
    public static final String ACCOUNT_HEAD_CHANGE_AMOUNT_FAILED_MSG = "总计超出原订单金额，请修改金额";
    public static final String ACCOUNT_HEAD_CHANGE_AMOUNT_FAILED_MSG_US = "The total amount exceeds the original order, please modify the amount";
    //单据录入-明细不能为空
    public static final int ACCOUNT_HEAD_EACH_AMOUNT_FAILED_CODE = 9500006;
    public static final String ACCOUNT_HEAD_EACH_AMOUNT_FAILED_MSG = "收款金额超出待收金额，请修改金额";
    public static final String ACCOUNT_HEAD_EACH_AMOUNT_FAILED_MSG_US = "The amount received exceeds the amount to be collected, please modify the amount";
    /**
     *  财务明细信息
     * type = 100
     * */
    //添加财务明细信息失败
    public static final int ACCOUNT_ITEM_ADD_FAILED_CODE = 10000000;
    public static final String ACCOUNT_ITEM_ADD_FAILED_MSG = "添加财务明细信息失败";
    //删除财务明细信息失败
    public static final int ACCOUNT_ITEM_DELETE_FAILED_CODE = 10000001;
    public static final String ACCOUNT_ITEM_DELETE_FAILED_MSG = "删除财务明细信息失败";
    //修改财务明细信息失败
    public static final int ACCOUNT_ITEM_EDIT_FAILED_CODE = 10000002;
    public static final String ACCOUNT_ITEM_EDIT_FAILED_MSG = "修改财务明细信息失败";
    /**
     * 序列号
     * type = 105
     * */
    /**序列号已存在*/
    public static final int SERIAL_NUMBERE_ALREADY_EXISTS_CODE = 10500000;
    public static final String SERIAL_NUMBERE_ALREADY_EXISTS_MSG = "序列号:%s已存在";
    public static final String SERIAL_NUMBERE_ALREADY_EXISTS_MSG_US = "Serial number: %s already exists";
    /**序列号不能为为空*/
    public static final int SERIAL_NUMBERE_NOT_BE_EMPTY_CODE = 10500001;
    public static final String SERIAL_NUMBERE_NOT_BE_EMPTY_MSG = "序列号不能为为空";
    /**商品%s下序列号不充足，请补充后重试*/
    public static final int MATERIAL_SERIAL_NUMBERE_NOT_ENOUGH_CODE = 10500002;
    public static final String MATERIAL_SERIAL_NUMBERE_NOT_ENOUGH_MSG = "商品:%s下序列号不充足，请补充后重试";
    /**删序列号信息失败*/
    public static final int SERIAL_NUMBERE_DELETE_FAILED_CODE = 10500003;
    public static final String SERIAL_NUMBERE_DELETE_FAILED_MSG = "删序列号信息失败";
    /**
     * 机构信息
     * type = 110
     * */
    //添加机构信息失败
    public static final int ORGANIZATION_ADD_FAILED_CODE = 11000000;
    public static final String ORGANIZATION_ADD_FAILED_MSG = "添加机构信息失败";
    public static final String ORGANIZATION_ADD_FAILED_MSG_US = "Failed to add institution information";
    //删除机构信息失败
    public static final int ORGANIZATION_DELETE_FAILED_CODE = 11000001;
    public static final String ORGANIZATION_DELETE_FAILED_MSG = "删除机构信息失败";
    //修改机构信息失败
    public static final int ORGANIZATION_EDIT_FAILED_CODE = 11000002;
    public static final String ORGANIZATION_EDIT_FAILED_MSG = "修改机构信息失败";
    public static final String ORGANIZATION_EDIT_FAILED_MSG_US = "Failed to modify organization information";
    //机构编号已存在
    public static final int ORGANIZATION_NO_ALREADY_EXISTS_CODE = 11000003;
    public static final String ORGANIZATION_NO_ALREADY_EXISTS_MSG = "机构编号已存在";
    public static final String ORGANIZATION_NO_ALREADY_EXISTS_MSG_US = "Institution ID already exists";
    //根机构不允许删除
    public static final int ORGANIZATION_ROOT_NOT_ALLOWED_DELETE_CODE = 11000004;
    public static final String ORGANIZATION_ROOT_NOT_ALLOWED_DELETE_MSG = "根机构不允许删除";
    //根机构不允许修改
    public static final int ORGANIZATION_ROOT_NOT_ALLOWED_EDIT_CODE = 11000005;
    public static final String ORGANIZATION_ROOT_NOT_ALLOWED_EDIT_MSG = "根机构不允许修改";
    //该机构存在下级不允许删除
    public static final int ORGANIZATION_CHILD_NOT_ALLOWED_DELETE_CODE = 11000006;
    public static final String ORGANIZATION_CHILD_NOT_ALLOWED_DELETE_MSG = "该机构存在下级不允许删除";
    public static final String ORGANIZATION_CHILD_NOT_ALLOWED_DELETE_MSG_US = "The existence of subordinates in this institution is not allowed to delete";
    /**
     * 机构用户关联关系
     * type = 115
     * */
    //添加机构用户关联关系失败
    public static final int ORGA_USER_REL_ADD_FAILED_CODE = 11500000;
    public static final String ORGA_USER_REL_ADD_FAILED_MSG = "添加机构用户关联关系失败";
    public static final String ORGA_USER_REL_ADD_FAILED_MSG_US = "Failed to add organization user association";
    //删除机构用户关联关系失败
    public static final int ORGA_USER_REL_DELETE_FAILED_CODE = 11500001;
    public static final String ORGA_USER_REL_DELETE_FAILED_MSG = "删除机构用户关联关系失败";
    //修改机构用户关联关系失败
    public static final int ORGA_USER_REL_EDIT_FAILED_CODE = 11500002;
    public static final String ORGA_USER_REL_EDIT_FAILED_MSG = "修改机构用户关联关系失败";
    public static final String ORGA_USER_REL_EDIT_FAILED_MSG_US = "Failed to modify organization user association";

    //进销存统计，如果有权限的仓库数量太多则提示要选择仓库
    public static final int REPORT_TWO_MANY_DEPOT_FAILED_CODE = 510;
    public static final String REPORT_TWO_MANY_DEPOT_FAILED_MSG = "请选择仓库，再进行查询";
    public static final String REPORT_TWO_MANY_DEPOT_FAILED_MSG_US = "Please select a warehouse, and then query";

    //演示用户禁止操作
    public static final int SYSTEM_CONFIG_TEST_USER_CODE = -1;
    public static final String SYSTEM_CONFIG_TEST_USER_MSG = "演示用户禁止操作";

    /**
     * 客户分类
     */
    //客户分类父类
    public static final int SUPPLIER_CATEGORY_IS_PARENT_CODE = 12500000;
    public static final String SUPPLIER_CATEGORY_IS_PARENT_MSG = "当前客户分类属于父类，不能选择";
    public static final String SUPPLIER_CATEGORY_IS_PARENT_MSG_US = "The current customer category belongs to the parent category and cannot be selected";

    //系统配置
    public static final int SYSTEM_CONFIG_UNIT_FLAG_EMPTY_CODE = 13500000;
    public static final String SYSTEM_CONFIG_UNIT_FLAG_EMPTY_MSG = "当前用户没有设置默认出入库单位，请去系统管理中系统配置设置默认出入库单位";
    public static final String SYSTEM_CONFIG_UNIT_FLAG_EMPTY_MSG_US = "The current tenant does not set the default inbound/outbound unit. Go to System Configuration in System Management to set the default inbound/outbound unit";

    //商品导入父类名称
    public static final int MATERIAL_PARENT_CATEGORY_EMPTY_CODE = 1450000;
    public static final String MATERIAL_PARENT_CATEGORY_EMPTY_MSG = "第%s行商品分类父类名称不能为空";
    public static final String MATERIAL_PARENT_CATEGORY_EMPTY_MSG_US = "The category parent name in line %s cannot be empty";
    //商品导入分类名称
    public static final int MATERIAL_CATEGORY_EMPTY_CODE = 1460000;
    public static final String MATERIAL_CATEGORY_EMPTY_MSG = "第%s行商品分类名称不能为空";
    public static final String MATERIAL_CATEGORY_EMPTY_MSG_US = "The category name in line %s cannot be empty";

    //打印限制
    public static final int PRINT_HISTORY_EXIST_CODE = 500;
    public static final String PRINT_HISTORY_EXIST_MSG = "单据编号:%s不能多次打印";
    public static final String PRINT_HISTORY_EXIST_MSG_US = "The document number %s cannot print multiple times";

    /**
     * 标准正常返回/操作成功返回
     * @return
     */
    public static JSONObject standardSuccess (String lanCode) {
        JSONObject success = new JSONObject();
        success.put(GLOBAL_RETURNS_CODE, SERVICE_SUCCESS_CODE);
        success.put(GLOBAL_RETURNS_MESSAGE, "zh".equals(lanCode) ? SERVICE_SUCCESS_MSG : SERVICE_SUCCESS_MSG_US);
        return success;
    }

    public static JSONObject standardErrorUserOver () {
        JSONObject success = new JSONObject();
        success.put(GLOBAL_RETURNS_CODE, USER_OVER_LIMIT_FAILED_CODE);
        success.put(GLOBAL_RETURNS_MESSAGE, USER_OVER_LIMIT_FAILED_MSG);
        return success;
    }

}
